package com.rykj.energy.database.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rykj.energy.database.pojo.BasicCamera;
import org.apache.ibatis.annotations.Param;

public interface CameraMapper extends BaseMapper<BasicCamera> {
    void deleteByDevId(@Param("devId") Integer devId);

    BasicCamera getOneByAddressAndType(@Param("camIp")String ipAddress,@Param("camIndex") Integer channelIndex,@Param("devType") String devType,@Param("camPort") String port);

    BasicCamera findByCamNo(@Param("cameraNo")String cameraNo);
}
